package com.blb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blb.entity.Area;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wss
 * @since 2020-05-21
 */
public interface AreaMapper extends BaseMapper<Area> {

    /***
     * 根据条件分页
     * @param map
     * @return
     */
    List<Area> getPageList(Map<String,Object> map);

    /**
     * 获取总条数
     * @return
     */
    int getPageCount(Map<String,Object> map);

}
